# !/usr/bin python3
# encoding: utf-8 -*-
# @file     : comment_apis.py
# @author   : 沙陌 Matongxue_2
# @Time     : 2023/8/19 16:33
# @Copyright: 北京码同学
from api.base_api import BaseManagerApi


class CommentBatchAuditApi(BaseManagerApi):
    """
    管理员批量审核评论
    """
    def __init__(self,ids:list):
        super().__init__()
        self.url = f'{self.host}/admin/members/comments/batch/audit'
        self.method = 'post'
        self.json = {
              "auth_status": "PASS_AUDIT",
              "ids":ids
            }
